package com.xhwl.data.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhwl.common.pojo.cent.sdata.Building;
import com.xhwl.common.query.cent.sdata.BuildingQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: luyi
 * @Description:
 * @Date: Create in 9:36 2021/4/14
 */
@Repository
public interface IBuildingDao extends BaseMapper<Building> {

    Page<Building> page(@Param("page") Page page, @Param("buildingQuery") BuildingQuery buildingQuery);

    List<Building> list(@Param("buildingQuery") BuildingQuery buildingQuery);
}
